package com.test.web.dao;

import com.test.web.entity.Dl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author heyanjing
 * date:2020-08-08 2020/8/8:14:52
 */
public interface DlDao {

    int deleteByPrimaryKey(String id);

    int insert(Dl record);

    int insertOrUpdate(Dl record);

    int insertOrUpdateSelective(Dl record);

    int insertSelective(Dl record);

    Dl selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Dl record);

    int updateByPrimaryKey(Dl record);

    int updateBatch(List<Dl> list);

    int batchInsert(@Param("list") List<Dl> list);

    List<Dl> findByDateAndNum(@Param("year") Integer year, @Param("num") Integer num);

}